﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;

namespace DbMetadata.Providers.MySql
{
    public class MySqlMetadataExtractor : DbMetadataExtractor
    {
        public MySqlMetadataExtractor(IDbConnection dbConnection) : base(dbConnection)
        {
        }

        public override IEnumerable<TableInfo> ReadTables()
        {
            var reader = ExecuteReader(Sql.Tables);
            return null;
        }

        public override IEnumerable<ColumnInfo> ReadColumns()
        {
            throw new NotImplementedException();
        }

        public override IEnumerable<ForeignKeyInfo> ReadForeignKeys()
        {
            throw new NotImplementedException();
        }

        public override IEnumerable<PrimaryKeyInfo> ReadPrimaryKeys()
        {
            throw new NotImplementedException();
        }
    }
}
